package book;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: yinsh
 * Date: 2025-01-13
 * Time: 21:17
 */
public class BookList{
    public Book[] books = new Book[10];
    private int usedSize;
    public BookList(){
        this.books[0] = new Book("红楼梦",19);
        this.books[1] = new Book("三国",12);
        this.books[2] = new Book("西游记",13);
        usedSize = 3;
    }

    public int getUsedSize() {
        return usedSize;
    }

    public void setUsedSize(int usedSize) {
        this.usedSize = usedSize;
    }
}
